package com.bRoom.pojo;

import java.util.Date;

public class Order {
    private Integer orderId;

    private String orderNumber;

    private Integer roomId;

    private Integer userId;

    private Integer orderStatus;

    private String orderMakerNumber;

    private String orderMakerTel;

    private String payment;

    private Integer paymentType;

    private Date checktime;

    private Date checkout;

    private Date createtime;

    private Date updatetime;

    public Order(Integer orderId, String orderNumber, Integer roomId, Integer userId, Integer orderStatus, String orderMakerNumber, String orderMakerTel, String payment, Integer paymentType, Date checktime, Date checkout, Date createtime, Date updatetime) {
        this.orderId = orderId;
        this.orderNumber = orderNumber;
        this.roomId = roomId;
        this.userId = userId;
        this.orderStatus = orderStatus;
        this.orderMakerNumber = orderMakerNumber;
        this.orderMakerTel = orderMakerTel;
        this.payment = payment;
        this.paymentType = paymentType;
        this.checktime = checktime;
        this.checkout = checkout;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Order() {
        super();
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderMakerNumber() {
        return orderMakerNumber;
    }

    public void setOrderMakerNumber(String orderMakerNumber) {
        this.orderMakerNumber = orderMakerNumber == null ? null : orderMakerNumber.trim();
    }

    public String getOrderMakerTel() {
        return orderMakerTel;
    }

    public void setOrderMakerTel(String orderMakerTel) {
        this.orderMakerTel = orderMakerTel == null ? null : orderMakerTel.trim();
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment == null ? null : payment.trim();
    }

    public Integer getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

    public Date getCheckout() {
        return checkout;
    }

    public void setCheckout(Date checkout) {
        this.checkout = checkout;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}